
#include <fuse.h>
#include <sys/stat.h>

#include "librally.h"

#define FUSE_USE_VERSION	25
#define _FILE_OFFSET_BITS	64

struct fuse_operations ops = {
	fuse_getattr,
	NULL,			/* readlink */
	NULL,			/* getdir */
	NULL,			/* mknod */
	fuse_mkdir,
	fuse_unlink,
	fuse_rmdir,
	NULL,			/* symlink */
	fuse_rename,
	NULL,			/* link */
	NULL,			/* chmod */
	NULL,			/* chown */
	fuse_truncate,
	NULL,			/* utime */
	fuse_open,
	fuse_read,
	fuse_write,
	NULL,			/* statfs */
	fuse_flush,		/* flush */
	NULL,			/* release */
	fuse_fsync,		/* fsync */
	NULL,			/* setxattr */
	NULL,			/* getxattr */
	NULL,			/* listxattr */
	NULL,			/* removexattr */
	NULL,			/* opendir */
	fuse_readdir,
	NULL,			/* releasedir */
	NULL,			/* fsyncdir */
	fuse_init,
	fuse_destroy,
	NULL,			/* access */
	NULL,			/* create */
	NULL,			/* ftruncate */
	NULL			/* fgetattr */
};

static char *FUSE_KFS_PROPERTIES = "./kfs.prp";

void * fuse_init()
{
}

void fuse_destroy(void *cookie)
{
}

static int fuse_getattr(const char *path, struct stat *s)
{
}

static int fuse_mkdir(const char *path, mode_t mode)
{
}

static int fuse_unlink(const char *path)
{
}

static int fuse_rmdir(const char *path)
{
}

static int fuse_rename(const char *src, const char *dst)
{
}

static int fuse_truncate(const char *path, off_t size)
{
}

static int fuse_open(const char *path, struct fuse_file_info *finfo)
{
}

static int fuse_read(const char *path, char *buf, size_t nread, off_t off, struct fuse_file_info *finfo)
{
}

static int fuse_write(const char *path, const char *buf, size_t nwrite, off_t off, struct fuse_file_info *finfo)
{
}

static int fuse_flush(const char *path, struct fuse_file_info *finfo)
{
}

static int fuse_fsync(const char *path, int flags, struct fuse_file_info *finfo)
{
}

static int fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *finfo)
{
}

int main(int argc, char **argv)
{
	return fuse_main(argc, argv, &ops);
}

